package springtest;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MyConfigForTest.class);
        A a = context.getBean(A.class);
        a.doSth();
    }
}
